package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX("欢迎来到");
        p.setY("达内");
        System.out.println(p.getX()+","+p.getY());
/*
        Point p = new Point();
        p.setX(100);
        p.setY(200);
        System.out.println(p.getX()+","+p.getY());

 */


    }
}
